<?php
namespace App\Server;

class Validate{
    static function validate($request){
        $request->validate([
            'title' => 'bail|required|unique:dians',
            'numer'=> 'required|unique:dians',
            'name'=> 'required|unique:dians',
            'type'=> 'required|unique:dians',
            'imei'=> 'required|unique:dians',
            'port'=> 'required|unique:dians',
            'kw'=> 'required|unique:dians',
            'dian'=> 'required|unique:dians',
        ]);
    }
}
